<html>
<head><meta charset="utf-8"><title>Link time optimizations off by default · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Link.20time.20optimizations.20off.20by.20default.html">Link time optimizations off by default</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208263326"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Link%20time%20optimizations%20off%20by%20default/near/208263326" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> chabing <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Link.20time.20optimizations.20off.20by.20default.html#208263326">(Aug 27 2020 at 19:17)</a>:</h4>
<p>Why are link-time optimizations off by default in release builds?</p>



<a name="208263379"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Link%20time%20optimizations%20off%20by%20default/near/208263379" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Link.20time.20optimizations.20off.20by.20default.html#208263379">(Aug 27 2020 at 19:17)</a>:</h4>
<p>They increase build times a lot</p>



<a name="208263546"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Link%20time%20optimizations%20off%20by%20default/near/208263546" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> chabing <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Link.20time.20optimizations.20off.20by.20default.html#208263546">(Aug 27 2020 at 19:18)</a>:</h4>
<p><span class="user-mention silent" data-user-id="211727">Jonas Schievink</span> <a href="#narrow/stream/246057-t-cargo/topic/Link.20time.20optimizations.20off.20by.20default/near/208263379">said</a>:</p>
<blockquote>
<p>They increase build times a lot</p>
</blockquote>
<p>That is expected in when building release mode</p>



<a name="208263614"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Link%20time%20optimizations%20off%20by%20default/near/208263614" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Link.20time.20optimizations.20off.20by.20default.html#208263614">(Aug 27 2020 at 19:19)</a>:</h4>
<p>To some extent, yeah</p>



<a name="208266416"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Link%20time%20optimizations%20off%20by%20default/near/208266416" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Link.20time.20optimizations.20off.20by.20default.html#208266416">(Aug 27 2020 at 19:44)</a>:</h4>
<p>how much build time and how much performance difference are we talking?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>